/**
 * 
 */
package com.rrd.dw.utils;

import com.alibaba.fastjson.JSONObject;

/**
 * @author xiexihao
 *
 */
public class JSONUtil {
	public static String getString(JSONObject obj, String key) {
		String s = "";
		
		if(obj == null || key == null)
			return s;
		
		s = obj.getString(key);
		
		return s == null ? "" : s;
	}
}
